<div class="step-line">
  <ng-container *ngFor="let step of steps; let i = index">
    <div class="step-line-item" [ngClass]="{'active': currentStep === i}" (click)="goTo(i, step)">
      <div class="step-line-content">
        <div class="step-line-icon">
          <span *ngIf="currentStep !== i" [ngClass]="step.cssIcon"></span>
          <span *ngIf="currentStep === i" class="fa fa-fw fa-circle-o-notch fa-spin"></span>
        </div>
        <div class="step-line-title">
          {{ step.title }}
        </div>
      </div>
    </div>
  </ng-container>
</div>
